var express = require('express')
,   router  = express.Router()
,   core    = require("core")
,   step    = core.step
,   send    = core.send
,   schema  = core.db.schema;

var GET = function(req, res, next) {

    var SEND = new send(0);
    SEND.docs = {
        config  : req.app.config,
        user    : req.sessions.user
    };

    res.render("home",SEND);

};

/* GET home page. */
router.get('/', GET);

module.exports = router;
